home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 26 / AACD 26.iso / AACD / Online / PHP / include / php / main / php_regex.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-26  |  883 b   |  46 lines

  1. #ifndef PHP_REGEX_H
  2. #define PHP_REGEX_H
  3.  
  4. /*
  5.  * REGEX means:
  6.  * 0.. system regex
  7.  * 1.. bundled regex
  8.  */
  9.  
  10. #if REGEX
  11. /* get aliases */
  12. #include "regex/regex_extra.h"
  13. #include "regex/regex.h"
  14.  
  15. /* get rid of aliases */
  16. #define PHP_NO_ALIASES
  17. #include "regex/regex_extra.h"
  18. #undef PHP_NO_ALIASES
  19.  
  20. #undef _PCREPOSIX_H
  21. #define _PCREPOSIX_H 1
  22.  
  23. #ifndef _REGEX_H
  24. #define _REGEX_H 1                /* this should stop Apache from loading the system version of regex.h */
  25. #endif
  26. #ifndef _REGEX_H_
  27. #define _REGEX_H_ 1
  28. #endif
  29. #ifndef _RX_H
  30. #define _RX_H 1                      /* Try defining these for Linux to    */
  31. #endif
  32. #ifndef __REGEXP_LIBRARY_H__
  33. #define __REGEXP_LIBRARY_H__ 1     /* avoid Apache including regex.h    */
  34. #endif
  35. #ifndef _H_REGEX
  36. #define _H_REGEX 1              /* This one is for AIX */
  37. #endif
  38. #elif REGEX == 0
  39. #include <regex.h>
  40. #ifndef _REGEX_H_
  41. #define _REGEX_H_ 1
  42. #endif
  43. #endif
  44.  
  45. #endif /* PHP_REGEX_H */
  46.